<span class="title_blue">Évaluation</span><br />
<span class="subtitle_gray">Montagne: {$nomMontagne}</span><br />
<br />
<script type="text/javascript" >
{literal}
	function envoiVote( div, noMontagne, noUsager, noCritere, valeur ){
		new Ajax.Updater(div,"/scripts/addVote.php",{method: 'get', parameters: {div: div, montagne: noMontagne, usager: noUsager, critere: noCritere, valeur: valeur } } );
	}
{/literal}
</script>
<p class="body_text" align="center">
{foreach item=critere from=$listeCriteres}
{$critere.nomCritere}
<div id="critere{$critere.noCritere}">
	<ul class="star-rating">
		<li class="current-rating" style="width:{$critere.note}%;"></li>
		<li><a onClick="envoiVote( 'critere{$critere.noCritere}', {$noMontagne},{$noUsager},{$critere.noCritere},1 );" title="1 étoile sur 5 (très faible)" class="one-star">1</a></li>
		<li><a onClick="envoiVote( 'critere{$critere.noCritere}', {$noMontagne},{$noUsager},{$critere.noCritere},2 );" title="2 étoiles sur 5 (faible)" class="two-stars">2</a></li>
		<li><a onClick="envoiVote( 'critere{$critere.noCritere}', {$noMontagne},{$noUsager},{$critere.noCritere},3 );" title="3 étoiles sur 5 (moyen)" class="three-stars">3</a></li>
		<li><a onClick="envoiVote( 'critere{$critere.noCritere}', {$noMontagne},{$noUsager},{$critere.noCritere},4 );" title="4 étoiles sur 5 (bon)" class="four-stars">4</a></li>
		<li><a onClick="envoiVote( 'critere{$critere.noCritere}', {$noMontagne},{$noUsager},{$critere.noCritere},5 );" title="5 étoiles sur 5 (très bon)" class="five-stars">5</a></li>
	</ul>
</div>
<br />
{/foreach}

<br />
</p>